gh-141510: Update specializer to support frozendict#144949
gh-141510: Update specializer to support frozendict#144949corona10 merged 1 commit intopython:mainfrom
Conversation
|
@Fidget-Spinner, |
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Your new PR optimizes two bytecodes instead of just one, and the change is smaller, nice!
In the future, we might use different opcodes for specialized frozendict operations to avoid locking, but we should first measure the performance benefits before considering going that far in terms in optimization. This change is a nice tradeoff between code complexity and performance.
|
I will fix this today |
|
Actually, that's only necessary for JIT tests, a simple |
Uh oh!
There was an error while loading. Please reload this page.